#ifndef BIBLIST_H
#define BIBLIST_H
#include <QMap>
#include <QString>
#include "bibitem.h"


class bibList
{
public:
    bibList();
    bibList(QString const &s);
    virtual ~bibList();
public:
    void readContent(QString const & s);
    QString getAnItem(int & from) const;
    int countItems() const;
    size_t size() const;
    QString at(int index, QString const & entry) const;
    bibItem at(int index) const;
    void append(QString const &);
    void erase(int index);

    QString toString() const;

    QVector<bibItem> list;
    QString raw;
};

#endif // BIBLIST_H
